package java3_16.CatchMouse;

public class Test {
    public static void main(String[] args) {
        Cat cat = new Cat("Tom","10KG",50);
        Mouse mouse = new Mouse("Jerry",50);
        System.out.println("Tom当前的体力是:"+cat.getPower());
        System.out.println("Jerry当前的体力是:"+mouse.getPower());
        cat.capture(mouse,50);
        System.out.println("Tom的体力变成："+cat.getPower());
        mouse.show();
    }
}
